using System;
using Jaws.Core.Web.Entities.Validation.CustomAttributes;

namespace Jaws.Core.Web.Entities.Comments
{
    [Serializable]
    public class Comment : XmlBusinessBase<Comment>
    {
        public string Name { get; set; }

        [IsEmailAddress]
        public string Email { get; set; }

        public string Website { get; set; }

        public string Country { get; set; }

        [IsRequired]
        public string Body { get; set; }

        public bool IsNotified { get; set; }
    }
}